@import './variables.scss';

.line {
  line-height: 36px;
}

.box-line {
  margin: 30px 0 !important;
}

.label-cls {
  display: inline-block;
  vertical-align: middle;
  color: #495060;
  font-size: 14px;
}

.value-cls {
  font-size: 14px;
  color: #939393;
}


.fs-12 {
  font-size: 12px;
}

.fs-14 {
  font-size: 14px;
}

.fs-16 {
  font-size: 16px;
}

.fs-18 {
  font-size: 18px;
}

.fs-20 {
  font-size: 20px;
}


.flex {
  display: flex !important;
  justify-content: center;
  align-items: center;
}

.flex-l {
  justify-content: flex-start !important;
}

.flex-r {
  justify-content: flex-end;
}

.flex-c {
  justify-content: center;
}

.flex-a {
  justify-content: space-around;
}

.flex-b {
  justify-content: space-between;
}

.flex-wrap {
  flex-wrap: wrap;
}

.fl {
  float: left;
}

.fr {
  float: right;
}

.clearfix:after {
  content: '';
  /*加一段内容*/
  display: block;
  /*让生成的元素以块级元素显示，占满剩余空间*/
  height: 0;
  /*避免生成的内容破坏原有布局高度*/
  clear: both;
  /*清除浮动*/
  visibility: hidden;
  /*让生成的内容不可见*/
}


.table-box {
  /* margin: 20px 0; */
  align-items: flex-start;
  flex-wrap: wrap;
}

.table-container {
  margin: 20px 0;
  /* width: 98%; */
  min-width: 600px;
  max-width: 100%;
  font-size: 14px;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
}

.table-hader {
  height: 30px;
  line-height: 30px;
  font-weight: bold;
  background-color: #eee;
}

.table-container tr:hover {
  background: #eee;
}

.el-table .tr-bg-red {
  background: #ea9a9a;
}

.table-container .td-index {
  width: 50px;
  text-align: center;
}

.table-container .td-name {
  width: 120px;
}

.table-container .td-avg {
  width: 80px;
}

.table-container .td-right {
  width: 80px;
}

.table-container .td-answer {
  min-width: 200px;
  width: auto;
}

.table-container .td-q {
  width: 70px;
  max-width: 80px;
  text-align: center;
}

.table-container .td-chapter {
  /* width: 120px; */
  min-width: 80px;
  width: auto;
  text-align: left;
}

table .td {
  padding: 0 4px;
  height: 34px;
  line-height: 34px;
}

table .td .score-cls {
  display: inline-block;
  padding-left: 20px;
  min-width: 16px
}

table .td .error-cls {
  color: #f00;
}


.select-cls {
  width: 120px;
  height: 30px;
}

.echart-box {
  margin: 20px 0;
  width: 100%;
  height: 400px;
  /* background: #eee; */
  /* box-shadow: 0 0 11px 0px #adadad; */
}

.echart-cls {
  margin: 0 auto;
  padding: 10px;
  width: 98%;
  height: 100%;
  // box-shadow: 0 0 7px 1px #cecccc;
  border:1px solid $borderColor;
}

.echart-tooltip-icon {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.echart-tooltip-line {
  padding: 4px 0;
}

.el-table--enable-row-transition .el-table__body td{
  padding: 0;
  height: 40px;
}
.error-cls {
  color: #f00;
}